x86: cover for clang's lack of support of -mpreferred-stack-boundary=<N>
authorJan Beulich <jbeulich@suse.com>
Fri, 17 May 2019 15:32:20 +0000 (17:32 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 17 May 2019 15:32:20 +0000 (17:32 +0200)
commit76d8dd2705a091078c871dff2024953749606dd0
tree2057eb66dc08b2f314072b6974092472740f9096
parent582a298b215088acb042793da91f0baa8ce34425
x86: cover for clang's lack of support of -mpreferred-stack-boundary=<N>

While clang supposedly supports -mstack-alignment=<N> instead, I'm not
using that alternative here due to being uncertain whether that's indeed
an exact equivalent of the gcc option. Only make use of the option
entirely conditional for now.

Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/efi/Makefile